home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / prg_casm / snip9611.zip / UNISTD.H < prev    next >
C/C++ Source or Header  |  1996-11-24  |  520b  |  33 lines

  1. /* +++Date last modified: 02-Nov-1995 */
  2.  
  3. /*
  4. **  UNISTD.H - Posix-compliant header for porting code to DOS
  5. **             systems which lack this standard header file.
  6. **
  7. **  public domain by Bob Stout
  8. */
  9.  
  10. #ifndef UNISTD__H
  11. #define UNISTD__H
  12.  
  13.  
  14. #include <io.h>
  15. #include <process.h>
  16. #include <stdio.h>
  17. #include "stat.h"
  18.  
  19. #undef dirent
  20. #undef DIR
  21.  
  22. #if !defined(__TURBOC__)
  23.  #include <direct.h>
  24. #else
  25.  #include <dir.h>
  26. #endif
  27.  
  28. #define dirent DIRENT_
  29. #define DIR DIR_
  30.  
  31.  
  32. #endif /* UNISTD__H */
  33.